class Interest
  include Mongoid::Document
  field :name, type:String
  has_and_belongs_to_many :people

  scope :music, ->(person) { where(person_id: person.id) }
end